package com.bjpowernode.shop.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.http.HttpEntity;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class R<T> extends HttpEntity<T> {
    private Integer code;
    private String msg;
    public R(T body) {
        super(body);
    }
}
